package day01.比较器;

/**
 * @author feng
 * @Date 2021/10/17 16:03
 */
public class Test01 {
    public static void main(String[] args) {
        Student s1 = new Student("zhangsan",20,180.0);
        Student s2 = new Student("lisi",40,190.0);
        //比较身高
        System.out.println(s1.compareTo(s2));



    }
}
